package bean;

import java.util.ArrayList;
import java.util.List;

public class NodeTypeBean {
	public String termtype,loginPrompt,passwordPrompt,commandPrompt,parser;
	public List<String> commands = new ArrayList();;
	
	String toStr() {
		StringBuffer strb = new StringBuffer();
		/*strb.append("termtype:").append(this.termtype);
		strb.append("\nloginPrompt:").append(this.loginPrompt);
		strb.append("\npasswordPrompt:").append(this.passwordPrompt);
		strb.append("\ncommandPrompt:").append(this.commandPrompt);
		strb.append("\nparser:").append(this.parser);*/
		
		for (String command : commands) {
			strb.append("\ncomand:").append(command);
		}	
		strb.append("\n");
		return strb.toString(); 
	}
}
